package com.xuecheng.manage_course.dao;

import com.xuecheng.framework.domain.course.CoursePic;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by Aniymx on 2018/12/30 11:38.
 */
public interface CoursePicRepository extends JpaRepository<CoursePic,String> {
    CoursePic findByCourseidAndPic(String courseId,String pic);
    CoursePic findByCourseid(String courseId);
    long deleteByCourseid(String courseId);
}
